package org.farm2.auth.service;

import org.farm2.auth.domain.EventLog;
import org.farm2.tools.db.DataQuery;
import org.farm2.tools.db.DataResult;
import org.farm2.tools.structure.ResourceInfo;

import java.util.List;


public interface EventLogServiceInter {

    public EventLog insertEventLogEntity(EventLog eventLog);

    public EventLog editEventLogEntity(EventLog eventLog);

    public void delEventLog(String id);

    public EventLog getEventLogById(String id);

    public List<EventLog> getEventLogs(DataQuery query);

    public DataResult searchEventLog(DataQuery query);

    public int getEventLogNum(DataQuery query);
    
    public int getNum(DataQuery query);

    public ResourceInfo getAllNum();
    
}
